/**
 * Created by houlonglong on 16/6/2.
 */
var gulp = require('gulp');
var browserSync = require('browser-sync').create();

// Static server
gulp.task('browser-sync', function() {
    var files = [
        './src/*.html',
        './src/css/*.css',
        './src/js/*.js'
    ];
    browserSync.init(files,{
        server: {
            baseDir: "./src"
        }
    });
});

gulp.task('default',['browser-sync']);